[ Task2 ] - Polish notation

- fixed bugs