Replace tab with spaces
Solve 1008
Reduce code
Add short.rb unit test