Custom Map Class Made in C++