Added Max function in algorithm
Implemented Vector3