homework FOR PROF. STAN only

as discussed please