pull out Arguments and fix grades generation
pull out Arguments and fix grades generation
added calculation of average