Adding hashmap datastructure, improved lists implementation