implemented operations for fraction