Solution by Ruben Westerberg Challange 1 (5-Smooth p5 and p6) does not require command input and runs indefinately Challenge 2 (pascal triangle p5 and p6) dies if user supplies less then 3 as input on the command line