James

I removed the dependence on NumPy, also I added my solution.