Flex input - Solved errors and bugs. Executable version
Solving merge