Handles given p4source4.txt that matches handout, needs more validation