On Learning Discrete Graphical Models using Greedy Methods