added files from lecture 3 and renamed others to match convention