fix 8 space indent
add vim modeline
fix python2 cosmetic issue (print())