refactoring pieces.rb
 added pieces.rb and initiate game