include code from source files instead
make code compatible with Python 2.7

Removed unneeded import (only integer division was performed).

Also removed parenthesis from the print statement.  Since all the labs
are still Python 2.7, the syntax is bound to get some puzzled looks from
students.