fixed get_string func and changed if/for statements to accept multiple statements