constructors example program