Problems with memory. Program is unrunable.