Practice implementing sorting algorithms: Develop bubble sort and selection sort algorithms to arrange an array of integers in ascending order.