fixed a few things
removed old code
now solves first stage (up to the first door)