Implemented own Map and Vector structure in C