commented print statements
added optimization for compiler
added bennys code