fixed warnings; added Rakefile
rake example