remove debugging print statements.
also, last commit included old intermediate code for some reason; this
includes updated code