practice examples

worked on making functions, making variables, getting input values from
user and returning them and creating loops and conditionals and arrays
and object arrays.