Fixed weird edge bugs
Added exercise 2.4
Added force with friction
Updated check edges function