changed parseMove to return piece