Working Example

Got everything working. Still counts repeat numbers though.