Implemented Pattern for If and While statements #115