Here is sample of code for smoe basic algorithms and some ACM tasks