func calcSingleFuel(mass int) int {
	if mass/3-2 <= 0 {
		return 0
	}
	return mass/3 - 2 + calcSingleFuel(mass/3-2)
}
function to recursively find the value required for a single mass input
package main
import "fmt"