Added hash map
renamed entrys to entries, formatted code adding a space between functions, still needing some optimizaitons