Failing to compile Objective-C on XCode 4
===

I've bought XCode 4 in order to start developing iOs applications. I come from a background of c, c++.
I've entered the examples from here:
http://en.wikibooks.org/wiki/Objective-C_Programming/syntax
to an XCode project ( Command line tool->Foundation template, not that I know what it means, just what I read somewhere ).
I named the files: point.h, point.m, main.m

At first, I got 3 errors. I got rid of 2 of them by changing the class's name from "Point" to "MyClass"
but now i get the following warning:
Method '+new' not found (return type defaults to 'id')
About the line:
" MyClass *point = [MyClass new] "

I also get no output in the debugger output section.

Any ideas how to solve this?

Thanks,
Guy.