Practicing implementation of various algorithms