V2.0 major changes: turned analysis into function, added txt and xlsx functionality, and added row and column format
V2.0 major changes: turned analysis into function, added txt and xlsx functionality, and added row and column format