Creates a method which collects header and structure information from a pe file and returns a dictionary