Updates the code formatting

There were some duplicated tabs and no convention for quotes. I defined single quotes as default use and reformatted the code.