wrote bubble and selection sort methods
wrote all three sorting methods