ak changed key mapping
ak added function to update positions on gameboard