Update homework1.c

added class averages