#include <stdio.h>
{
   char *names = "Calvin;Leoben;D'anna;Simon;Doral;Six;Daniel;Sharon";
   char *str;
   char *tmp;
   char *prologue;
   char *part1 = "The Cylons were created by man. They evolved. They rebelled.";
   char *part2 = "There are many copies. And they have a plan.";
   char **arr;
   int i;
   char *time_arr;
   time_t curr_time;
   struct tm *info;
   for (i = 0; arr[i]; i++)
     printf("%s\n", arr[i]);
   free(arr[0]);
   free(arr);
   
   str = malloc(sizeof(char) * 4);
   strcpy(str, "bsd");
   printf("%s\n", str);
   printf("%s\n", str);
      printf("Starts with 'Calvin'\n");
      printf("Ends with 'sharon'\n");
      printf("Has extension 'sharon'\n");
   printf("%s\n", tmp);
   free(tmp);
   prologue = malloc(sizeof(char) * 106);
   printf("%s\n", prologue);
   printf("%s\n", str);
   free(prologue);
   free(str);
   str = malloc(sizeof(char) * 14);
   sprintf(str, "%s", "cylons+");
   printf("%s\n", str);
   free(str);
   curr_time = time(NULL);
   info = localtime(&curr_time);
   printf("Today's Date: %s\n", time_arr);
   free(time_arr);
   return 0;
}