Problem 43 is completed (but please, someone optimize me, this is terrible runtime)