A library for checking a number is sparse number or not