Init Gemfile and install gems
Fix bugs and add tests for the percolates? method