Saute garlic in olive oil until slightly browned. Add potatoes and beans and pepper. Cook on medium heat until potatoes are soft and mushy but still in chunks.