removed the print all function: step 2.d.i from the homework
working version. testing now