Added a malloc() function. WILL ONLY ALLOCATE UP TO 14MB.
Edited malloc() to test for upper boundary