finally got prime factorization to work
Tile cost complete!
Change Return program complete