added package.json
modified complexities data structure
modified tests to new data structure
made code more generic
save complexities to counter object
renaming csv fields