grid.py : is_valid_coord(), is_in_grid()

- changed name of "is_in_grid()" into "is_valid_coord()"
- created method "is_in_grid()" that tests whether (x, y) are valid
coordinates - ie are within grid dimensions.