Implemented collision friction and finished the background and tile classes