Removed commented-out debug prints
Replaced spaces with tabs and deleted trailing whitespace