ladder against a wall problem - Search