separated main from dictionary
calculating patterns
added a ton of files