Create Array Using Dynamic Memory Allocations In C