outline evaluation method

outline evaluation method
change elseif --> elsif
change 2 --> WIDTH constant
add "print" command
remove extra parentheses