Added c++ code to implement the User and ItemBased CF. Also fixed the errors with the json code. Made them look pretty.