Different miscellaneous methods and algorithms that are reusable