Almost of the coding is done for programming assn7