MyVector class with basic functionallity and memory allocation