added more boilerplate code and started adding the HashMap functionality