updated showAvailableMoves method to get rid of the previous green
squares.