Updated lab04

Fixed all the errors in the original lab04