added wall collision and fixed errors