Recursive isSumOf method added.
Added javadocs for 'count' and 'f' methods.
Added more javadocs. Completed all public methods documentation.