fixed bubble and shell sorts