Fixed the LA so that it allocates the stated amount plus the size of void* to allow all the stated memory to be used by the user.
Added implementation and calls for scenario 2.