checked the pocees_to_q, process_grid, get_grid with pep 8