added print function
added string type
added variable declarations