Fixed the function calls by passing in arguments. Fixed some formatting issues. Changed the string repeat to a char