using 2-spaces indentation.
UD#format_results now returns the output instead of printing it.
Tests added.
'Tests' section added.