fixing bugs
repair operands switching mode
added text of bachelor work