Added preliminary iPad interface

Also changed type of coordinates of position to NSUInteger, making the
precondition of the initializer explicit.