Add a method to check whether the input is a whole number or not
Change method name to create_pascal_triangle