gnome sort and cocktail sort added