Fixed error with replacement of X instead of number and put som OOP in the project