Implemented controls for moving pieces