Style and edgecase prints for 1 and 0

Obviously the edgecases aren't working.
fix edgecases and centering header