Added CompareAttacks class and method + added comments + general cleanup