Added implementation for problem 13.
Changed result type of problems to be int64 (was needed for proper use of problem 13 return values.