Castle hosts exhibition on Wars of Independence