Added solution to ugly numbers