New Allocation and Deallocation function, new exceptions, new test

This is not the final version, i want to do MemoryTest from function
ProcessesInMemory() to another class. I want to do it in the morning. I
hope that I will be in time :)