fixed some move logic and added "end turn" functionality