added tournament code generator and added pg_search gem