added the graph function and spaces between binary digits