Fixed some bugs. Missing semicolons and parenthesis. in print function.