Better names for a and b

Replaced the names of a and b with more indicative names.
Debug output removed
javadoc added
merged master, solved conflicts in AS
Merge pull request #14 from AlexKolpa/AcceptanceStrategy2

Acceptance strategy2