Lab1: A4 half DONE; Coding class implemented
made ctor private