Made so 0 draw and 0 mark works properly, made parseInput function