bitsort algorithm in scala