The Great Pyramid of Giza was the tallest building in the world for 3871 years until it was beaten by a cathedral in a town called Lincoln in the UK.