refactored some code
input more performance
code reductions
replaced iostream
pihergh
dgerhg