Fixed mixed indentation.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Removed unnecessary code in Node-constructor.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Added spec to addOption method in Node-class

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Simplified loops in computeAllSingles()

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Simplified condition for while-loop in computeAllSingles()

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Added spec for computeAllSingles()

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Commented lists.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Fixed previous comment.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
I hope you don't mind me switching the while-loops to for-loops. :)

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Fixed incorrect spelling in spec.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
More spelling mistakes.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
while -> for

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Soooo many commits

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>