Print in more code-like form

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Remove unnecessary repeated code

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Refine output form more

Signed-off-by: SeongJae Park <sj38.park@gmail.com>