initial commit for lab 6

code does not currently run correctly