Written in C, calculates starting at your amount of RP how much it takes to get down to 0 with what you buy