Fixed #4. Removed print statements used in debugging.