Add pseudocode to solution