Problem 54: Copied scala solution's tiebreaker to improve python solution
Problem 54: Gave Scala solution a main method
minor housecleaning