Removed unnecessary import.
Simplified Excel output, also made it more functional.