(2) Anything which consists of-
(f ) a program for a computer;
shall not be an invention for the purposes of this Act.
(3) The provisions of subsection (2) shall prevent, only to the extent to which a patent or an application for a patent relates to that thing as such, anything from being treated as an invention for the purposes of this Act.