Switch ruby version to 2.1.2.
Add specs.
1st implementation.
2nd implementation.
Merge branch 'kadai'