removed unused method
sort of enforced lose condition
reversed leftState and rightState
implemented other rotate states