Refactor code
Change print to print() and rename to lowercase functions
Code format