adjusting hw3 grade command to work with new layout