small formatting fix
more additions
more additions
add demo function that uses __main__ block to 'test' the function in the module