reduces size of demo table; adds bootstrap styling; refactors comparison functions;