added comments to Castle class