I found this app on the Google play store. Prize Fund Calculator Offered By Doug the Bartender I am not too good in algorithms, so looking for someone who can help me to understand the functionality of this app and possible algorithms used.