finished lab3, all three parts. split into 3 sub directories