Add lab2_6 file
Solution for lab2_6