Added example for variables
Fixed getting variables on the same line as print