Program 3
Fill in the functions and test them one at a time.
You will need the default constructor for anything to work.
length is visible only inside the tempate definitions, not main