first two problems done, auto testing added