i wrote a code to manage a coffee machine, i have a function "findC" that finds the cheapest capsule in the capsule array a different function of mine "findVP