Sample program implemented, for addressing tests