Finished binary exercise