corrected errors as per instructor

did not turn in the first time. hoping for some points at least.