did a little work on printing stuff, fixed most of the syntax errors