My Practice program for passing objects