Fixed Lab 6

Compiled in GCC 4.7
Fixed lab3

compiled with GCC 4.7