added method to get available moves
added method to get available moves