Refaktor main.cpp, fixed memory leaks, add bigger squares