Thanks Nancy easy when you know how. This worked perfectly.I believe the Example module includes a complete example of the block stuff.You will also need hook_block_info() (http://api.drupal.org/api/drupal/modules--block--block.api.php/function/hook_block_info/7) in order for the blocks to show up in the blocks list. Then your hook_block_view() (http://api.drupal.org/api/drupal/modules--block--block.api.php/function/hook_block_view/7) will work to generate it.
You might also be interested in http://drupal.org/coding-standardsNancy