cleaned stuff added #include <map>
hash notes from school