Added support for keywords, added print keyword, and removed dead code