Switched from the implicit main function to an explicit. Also made it possible for functions to not return any value.