added homework 5 with basic functions - analysis pending