An airtime borrowing software algorithm done as a school project!