complete Project Euler Number 19