Exercism Elixir challenge -- leap test with guard clause