use integers instead of booleans for everything
made it SO fast