refactored hexmap_rotation code, started input loop