Trainer for implementing basic algorithms such as sorting, binary search, expression parser, etc.