Assignment 2 - Simple Vector Renamed and Fixed

Fixed the heap corruption error caused by using parentheses instead of
brackets when allocating a dynamic array.