Add binary chart implementation and output without sorting functionality