First submission of gigasecond solution
Solution that passes all tests