Write a poem about the battle of the five armies, described in "The Hobbit" by J. R. R. Tolkien. It should mainly focus on the heroic deeds of Thorin Oakenshield and his eventual demise.