Change init code
Delete swipeGestureRecognizer
Detect drag direction
Add debug function
Add debug function
Add Fraction class
Impletent fraction calculation