A version with Node and Learning Algorithm Classes and a test function (ReadMe Edited)