Fixed small bug in Gnome sort. Upper bound undefined, now fixed