Few algorithms for practise