using friends stringmap he made for a class
base version
input file