Console interface for SA algorithm

Signed-off-by: Daniel A. Zorin <juan@lvk.cs.msu.su>