Started work on ugly numbers cpp