First attempt to commit solution

First attempt to commit solution of R-prog assignment