Lab4 implemented
Added stage2