using exceptions instead of letting code crash
added squad creation, deletion, pruning