- Write a [function](TODO-LINK) that transforms a number within a `string` in a number represented as an `int`.
- For this exercise the handling of the signs + or - **has** to be taken into account. If one of the signs is encountered before any number it should determine the sign of the returned `int`.
- This function will **only** have to return the `int`. In case of invalid input, the function should return `0`.