Fixed Antecedent Grammar
Fixed grammar for lab 4. Fixed minor index bugs. Added error checking.