simplified main A LOT and changed wording, added if in show_portfolio so not to divide by zero