made faster

Added %cython and made the parameter long. Also raised ValueError instead of Exception, as was suggested.
timings

For hw3, added timings of the old and revised code.
Merge pull request #2 from jessicajunk/hw3branch

Hw3branch