New York becomes 23rd state to allow medical marijuana