first commit of program, not properly worked yet.. still study