Merge pull request #1 from MmKolodziej/move_to_ruby

Move to ruby
Fixup dfa_pso.rb
Further code cleanup
Added gemfile
Merge pull request #5 from MmKolodziej/add_gemfile

Added gemfile
Merge pull request #4 from MmKolodziej/cleanup_code

Fixup dfa_pso.rb
Added sample image class