Problem 29 - Distinct powers

* Use a set to prevent duplicates... pretty straight forward