added homework lab 06 and fixed a mistake