spo: added lab4 source
spo: lab4 finaly source code