Fixed logic errors in fringe cases, formatted, and implemented graph
Fixed some logic errors that I found on fringe cases and formatted both App.css and debt.js and debt.css. Please note that the changes to App.css will cascade to all other files for the background colour.