Basic sorting and averaging algorithms