12 problems plus 1st code

Added the 12 problems as comments and also added the first code.