The bubble sort and linear search and how they are coded within python