updated the test1.pl partially works for printing multiline if statements