Errors and segfault fixed, multiplication and division are goint to be added