pan and another man in a dirty tartan kilted around his dingy yellow shirt were partway up a ladder of sortsa thick beam with pegs sticking out the sides , which was leaning again the tall wall surrounding the castle grounds .