Home work 3 for DEIIS