add more sample code to projects

this shows more features of riot