Adding more of the functions JEP. Still need to properly implement sort()